package com.sinosoft.jwjw.component.controller;


import com.sinosoft.jwjw.base.BaseCrudController;
import com.sinosoft.jwjw.base.BaseCrudService;
import com.sinosoft.jwjw.component.model.${model_name};
import com.sinosoft.jwjw.component.service.${model_name}Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.UUID;
/**
 * ${model_desc}控制层
 * @ver 系统自动生成代码
 */
@Controller
@RequestMapping(value = "/${model_name_lowerFirst}")
public class ${model_name}Controller extends BaseCrudController<${model_name},String> {

    @Autowired
    ${model_name}Service ${model_name_lowerFirst}Service;

    @Override
    public BaseCrudService<${model_name},String> getBaseService() {
        return ${model_name_lowerFirst}Service;
    }

}
